package com.zendaimoney.test.simulation.enums;

/**
 * 平台响应码
 */
public class PlatformRespCode {

    /**
     * 通联响应码
     */
    public enum AllinPay {
        SUCCESS("0000", "SUC", "0000", "deal successful"),
        FAIL_3001("0000", "SUC", "0000", "deal successful"),
        FAIL_1002("1002", "订单不存在", "1002", "订单不存在"),
        MIDDLE_2000("2000","交易处理中","2000","交易处理中"),
        ;

        private String headCode;
        private String headMsg;
        private String bodyCode;
        private String bodyMsg;

        AllinPay(String headCode, String headMsg, String bodyCode, String bodyMsg) {
            this.headCode = headCode;
            this.headMsg = headMsg;
            this.bodyCode = bodyCode;
            this.bodyMsg = bodyMsg;
        }

        public String getHeadCode() {
            return headCode;
        }

        public String getHeadMsg() {
            return headMsg;
        }

        public String getBodyCode() {
            return bodyCode;
        }

        public String getBodyMsg() {
            return bodyMsg;
        }
    }

}
